﻿<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
 
    <script type='text/html' template> 
        <input type='hidden' name='PID' value="{{ d.params.PID || '' }}"/>
    </script>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>真是姓名</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='FRealName' value='{{ d.params.FRealName || '' }}' lay-verify='required' placeholder='真是姓名' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='FClientIP' value='{{ d.params.FClientIP || '' }}' lay-verify='required' placeholder='' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template lay-done='layui.data.datedone(d.params);'>
                <input type='text' readonly='readonly' name='FFirstRequestTime' readonly='readonly' id='FFirstRequestTime' value='{{ d.params.FFirstRequestTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
       
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template lay-done='layui.data.datedone(d.params);'>
                <input type='text' readonly='readonly' name='FStartOnlineTime' readonly='readonly' id='FStartOnlineTime' value='{{ d.params.FStartOnlineTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
       
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template lay-done='layui.data.datedone(d.params);'>
                <input type='text' readonly='readonly' name='FLastRequestTime' readonly='readonly' id='FLastRequestTime' value='{{ d.params.FLastRequestTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
       
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template lay-done='layui.data.datedone(d.params);'>
                <input type='text' readonly='readonly' name='FExpirationTime' readonly='readonly' id='FExpirationTime' value='{{ d.params.FExpirationTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
       
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='FScope' value='{{ d.params.FScope || '' }}' lay-verify='required' placeholder='' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='FLoginType' value='{{ d.params.FLoginType || '' }}' lay-verify='required|number' placeholder='' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'></label>
        <div class='layui-input-inline'>
            <script type='text/html' template lay-done='layui.data.datedone(d.params);'>
                <input type='text' readonly='readonly' name='FRefreshExpirationTime' readonly='readonly' id='FRefreshExpirationTime' value='{{ d.params.FRefreshExpirationTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
     
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" onclick="Close()" value="关闭" class="layui-btn">
        </div>
    </div>
</div>

<script type="text/javascript">

    function Close() {
        layer.closeAll();
    }
    
    layui.data.getSelSource = function (d) {
        layui.use(['form', 'admin'], function () {
            var $ = layui.$;
            var form = layui.form;
            var admin = layui.admin;

        });
    }
 
    
    
    layui.data.datedone = function (d) {
        layui.use('laydate', function () {
            var laydate = layui.laydate;

            //日期时间选择器
            laydate.render({
                elem: '#FFirstRequestTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.FFirstRequestTime;

            //日期时间选择器
            laydate.render({
                elem: '#FStartOnlineTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.FStartOnlineTime;

            //日期时间选择器
            laydate.render({
                elem: '#FLastRequestTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.FLastRequestTime;

            //日期时间选择器
            laydate.render({
                elem: '#FExpirationTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.FExpirationTime;

            //日期时间选择器
            laydate.render({
                elem: '#FRefreshExpirationTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.FRefreshExpirationTime;

        });
    }
    
    layui.use(['form'], function () {
        var form = layui.form;//required（必填项）phone（手机号）email（邮箱）url（网址）number（数字）date（日期）identity（身份证） 自定义值
    });
</script>
